package com.tedu.spring.auto;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Repository;


@Repository("cacheImpl2")
public class CacheImpl2  implements Cache{
    @Value("cacheImpl2")
    private String name;

    @Override
    public String toString() {
        return "CacheImpl2{" +
                "name='" + name + '\'' +
                '}';
    }
}
